<?php
include('check_login.include.php');

include('../classes/autoloading_pages.include.php');

$hm = new HTMLElementsManager();
$navigation = $hm->get_HTML_element_by_name('navigation');
$header = $hm->get_HTML_element_by_name('header_home');
$videos = $hm->get_HTML_element_by_name('videos');
$info = $hm->get_HTML_element_by_name('info');
$patrocini = $hm->get_HTML_element_by_name('patrocini');
$footer = $hm->get_HTML_element_by_name('footer_home');

$nm = new NewsManager();
$news = $nm->get_last_news();
include('index.view.php');

?>
